﻿using EmoneyWeiXinDAL;
using EmoneyWeiXinEntity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EmoneyWeiXinBLL
{
    public class QQKeyBLL2
    {
        public static int Insert(string qqNames, string key)
        {
            return QQKeyDAL2.Insert(qqNames, key);

        }

        public static int Delete(string key)
        {
            return QQKeyDAL2.Delete(key);
        }

        public static int SetStatusTo1(string QQKey)
        {
            return QQKeyDAL2.SetStatusTo1(QQKey);
        }

        public static System.Data.DataTable SelectByPage(int pageSize, int pageIndex, out int totalCount)
        {
            return QQKeyDAL2.SelectForPage(pageSize, pageIndex, out totalCount);
        }

        public static string GetQiyongKey()
        {
            return QQKeyDAL2.GetQiyongKey();
        }

        public static void InsertJiLu(Object entity)
        {
            QQKeyDAL2.InsertJiLu(entity as JiaQQJiluEntity);
        }
    }
}
